package com.itxiao.pojo.vo;

import com.itxiao.entity.OrderSku;
import com.itxiao.entity.UserAddress;
import com.itxiao.pojo.vo.spu.OrderSkuVo;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
public class OrderVo {
    private Long id;
    //订单号
    private String orderNo;
    //下单用户ID
    private Long userId;
    //下单总金额
    private BigDecimal totalPrice;
    //运费
    private BigDecimal freightPrice;
    //商品价格
    private BigDecimal salePrice;
    //订单状态：1未支付;2已支付;3已发货;4已支付
    private Integer status;
    //订单快照店铺信息
    private String snapShopInfo;
    //订单备注
    private String note;
    //创建时间
    private Date createTime;

    private List<OrderSkuVo> skuList;
    private UserAddress  userAddress;

}
